home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Gigarom 1
/
Gigarom Macintosh Archives (Quantum Leap)(CDRM1080320)(1993).iso
/
FILES
/
HYP
/
A-B
/
Buttons.cpt
/
Buttons, Buttons
/
card_3977.txt
< prev
next >
Wrap
Text File
|
1992-03-04
|
10KB
|
442 lines
-- card: 3977 from stack: in
-- bmap block id: 4302
-- flags: 0000
-- background id: 2690
-- name:
-- part 1 (button)
-- low flags: 00
-- high flags: 0001
-- rect: left=9 top=25 right=44 bottom=38
-- title width / last selected line: 0
-- icon id / first selected line: 1015 / 1015
-- text alignment: 1
-- font id: 0
-- text size: 12
-- style flags: 0
-- line height: 16
-- part name: New Button
----- HyperTalk script -----
on mouseUp
If the icon of me is 1015 then
set the icon of me to 1016
play "click"
else if the icon of me is 1016 then
set the icon of me to 1015
play "click"
end if
end mouseUp
-- part 2 (button)
-- low flags: 00
-- high flags: 0001
-- rect: left=361 top=9 right=32 bottom=400
-- title width / last selected line: 0
-- icon id / first selected line: 1013 / 1013
-- text alignment: 1
-- font id: 0
-- text size: 12
-- style flags: 0
-- line height: 16
-- part name: New Button
----- HyperTalk script -----
on mouseUp
visual effect wipe right
go to next card
end mouseUp
-- part 3 (button)
-- low flags: 00
-- high flags: 0001
-- rect: left=361 top=41 right=64 bottom=400
-- title width / last selected line: 0
-- icon id / first selected line: 1014 / 1014
-- text alignment: 1
-- font id: 0
-- text size: 12
-- style flags: 0
-- line height: 16
-- part name: New Button
----- HyperTalk script -----
on mouseUp
visual effect dissolve
go to prev card
end mouseUp
-- part 4 (button)
-- low flags: 00
-- high flags: 8001
-- rect: left=82 top=15 right=61 bottom=134
-- title width / last selected line: 0
-- icon id / first selected line: 18555 / 18555
-- text alignment: 1
-- font id: 0
-- text size: 12
-- style flags: 0
-- line height: 16
-- part name: MST 3000
----- HyperTalk script -----
on mouseUp
If the icon of me is 18555 then
set the icon of me to 18556
wait for 10 ticks
set the icon of me to 18557
wait for 10 ticks
set the icon of me to 18558
wait for 10 ticks
set the icon of me to 18559
wait for 10 ticks
set the icon of me to 18560
wait for 10 ticks
set the icon of me to 18561
wait for 10 ticks
set the icon of me to 18562
wait for 10 ticks
set the icon of me to 18563
wait for 10 ticks
set the icon of me to 18564
wait for 10 ticks
set the icon of me to 18565
wait for 10 ticks
set the icon of me to 18566
play "click"
else if the icon of me is 18566 then
play "click"
set the icon of me to 18565
wait for 20 ticks
set the icon of me to 18564
wait for 10 ticks
set the icon of me to 18563
wait for 10 ticks
set the icon of me to 18562
wait for 10 ticks
set the icon of me to 18561
wait for 10 ticks
set the icon of me to 18560
wait for 10 ticks
set the icon of me to 18559
wait for 10 ticks
set the icon of me to 18558
wait for 10 ticks
set the icon of me to 18557
wait for 10 ticks
set the icon of me to 18556
wait for 10 ticks
set the icon of me to 18555
play "click"
end if
end mouseUp
-- part 5 (button)
-- low flags: 00
-- high flags: 0000
-- rect: left=40 top=19 right=53 bottom=79
-- title width / last selected line: 0
-- icon id / first selected line: 5182 / 5182
-- text alignment: 1
-- font id: 0
-- text size: 12
-- style flags: 0
-- line height: 16
-- part name: New Button
----- HyperTalk script -----
on mouseUp
If the icon of me is 5182 then
set the icon of me to 5183
play "click"
else if the icon of me is 5183 then
set the icon of me to 5182
play "click"
end if
end mouseUp
-- part 6 (button)
-- low flags: 00
-- high flags: 8001
-- rect: left=142 top=13 right=61 bottom=188
-- title width / last selected line: 0
-- icon id / first selected line: 21627 / 21627
-- text alignment: 1
-- font id: 0
-- text size: 12
-- style flags: 0
-- line height: 16
-- part name: Sardines
----- HyperTalk script -----
on mouseUp
If the icon of me is 21627 then
set the icon of me to 21628
play "crank"
wait for 30 ticks
set the icon of me to 21629
play "crank"
wait for 30 ticks
set the icon of me to 21630
play "crank"
wait for 30 ticks
set the icon of me to 21631
play "crank"
wait for 30 ticks
set the icon of me to 21632
wait for 10 ticks
set the icon of me to 21633
wait for 10 ticks
set the icon of me to 21634
wait for 10 ticks
set the icon of me to 21635
wait for 10 ticks
set the icon of me to 21636
wait for 10 ticks
set the icon of me to 21637
else if the icon of me is 21637 then
play "click"
set the icon of me to 21635
wait for 20 ticks
set the icon of me to 21634
wait for 10 ticks
set the icon of me to 21633
wait for 10 ticks
set the icon of me to 21632
wait for 10 ticks
set the icon of me to 21631
wait for 30 ticks
set the icon of me to 21630
play "crank"
wait for 30 ticks
set the icon of me to 21629
play "crank"
wait for 30 ticks
set the icon of me to 21628
play "crank"
wait for 30 ticks
play "crank"
set the icon of me to 21627
end if
end mouseUp
-- part 7 (button)
-- low flags: 00
-- high flags: 8000
-- rect: left=195 top=13 right=62 bottom=234
-- title width / last selected line: 0
-- icon id / first selected line: 26890 / 26890
-- text alignment: 1
-- font id: 0
-- text size: 12
-- style flags: 0
-- line height: 16
-- part name: split P
----- HyperTalk script -----
on mouseUp
If the icon of me is 26890 then
set the icon of me to 26891
wait for 10 ticks
set the icon of me to 26892
wait for 10 ticks
set the icon of me to 26893
wait for 10 ticks
set the icon of me to 26894
wait for 10 ticks
set the icon of me to 26895
wait for 10 ticks
set the icon of me to 26896
play "click"
wait for 10 ticks
set the icon of me to 26897
wait for 10 ticks
set the icon of me to 26898
wait for 10 ticks
set the icon of me to 26899
wait for 10 ticks
set the icon of me to 26900
wait for 10 ticks
set the icon of me to 26901
wait for 10 ticks
set the icon of me to 26902
else if the icon of me is 26902 then
play "click"
set the icon of me to 26903
wait for 20 ticks
play "click"
set the icon of me to 26902
wait for 10 ticks
set the icon of me to 26901
wait for 10 ticks
set the icon of me to 26900
wait for 10 ticks
set the icon of me to 26899
wait for 10 ticks
set the icon of me to 26898
wait for 10 ticks
set the icon of me to 26897
wait for 10 ticks
set the icon of me to 26896
wait for 10 ticks
set the icon of me to 26895
wait for 10 ticks
set the icon of me to 26894
wait for 10 ticks
set the icon of me to 26893
play "click"
wait for 10 ticks
set the icon of me to 26892
wait for 10 ticks
set the icon of me to 26891
wait for 10 ticks
set the icon of me to 26890
end if
end mouseUp
-- part 8 (button)
-- low flags: 00
-- high flags: 0000
-- rect: left=242 top=12 right=54 bottom=276
-- title width / last selected line: 0
-- icon id / first selected line: 11234 / 11234
-- text alignment: 1
-- font id: 0
-- text size: 12
-- style flags: 0
-- line height: 16
-- part name: New Button
----- HyperTalk script -----
on mouseUp
If the icon of me is 11234 then
set the icon of me to 11216
wait for 10 ticks
set the icon of me to 11217
wait for 10 ticks
set the icon of me to 11218
wait for 10 ticks
set the icon of me to 11219
wait for 10 ticks
set the icon of me to 11220
wait for 10 ticks
set the icon of me to 11221
wait for 10 ticks
set the icon of me to 11222
wait for 10 ticks
set the icon of me to 11223
wait for 10 ticks
set the icon of me to 11224
wait for 10 ticks
set the icon of me to 11225
wait for 10 ticks
set the icon of me to 11226
wait for 10 ticks
set the icon of me to 11227
wait for 10 ticks
set the icon of me to 11228
wait for 10 ticks
set the icon of me to 11229
wait for 10 ticks
set the icon of me to 11230
wait for 10 ticks
set the icon of me to 11231
wait for 10 ticks
set the icon of me to 11232
wait for 10 ticks
set the icon of me to 11233
wait for 10 ticks
set the icon of me to 11234
end if
end mouseUp
-- part 9 (button)
-- low flags: 00
-- high flags: 0002
-- rect: left=288 top=11 right=59 bottom=334
-- title width / last selected line: 0
-- icon id / first selected line: 31036 / 31036
-- text alignment: 1
-- font id: 0
-- text size: 12
-- style flags: 0
-- line height: 16
-- part name: New Button
----- HyperTalk script -----
on mouseUp
waveroll
sharkRight
waveroll
sharkLeft
waveroll
sharkRight
sharkLeft
sharkRight
sharkLeft
sharkRight
sharkLeft
sharkOut
sharkThrash
sharkOut
sharkThrash
waveroll
set the icon of me to 31036
end mouseUp
on waveroll
repeat for 4
set the icon of me to 29869
wait for 10 ticks
set the icon of me to 29870
wait for 10 ticks
set the icon of me to 29868
wait for 10 ticks
set the icon of me to 29869
wait for 10 ticks
set the icon of me to 29870
wait for 10 ticks
end repeat
end waveroll
on sharkRight
-- Shark swim to right
set the icon of me to 29871
wait for 10 ticks
set the icon of me to 29872
wait for 10 ticks
set the icon of me to 29873
wait for 10 ticks
end sharkRight
on sharkLeft
set the icon of me to 29874
wait for 10 ticks
set the icon of me to 29875
wait for 10 ticks
set the icon of me to 29876
wait for 10 ticks
end sharkLeft
on sharkOut
set the icon of me to 29877
wait for 10 ticks
set the icon of me to 29878
wait for 10 ticks
set the icon of me to 29879
wait for 10 ticks
end sharkOut
on sharkThrash
repeat for 6
set the icon of me to 29879
wait for 10 ticks
set the icon of me to 29880
wait for 10 ticks
end repeat
set the icon of me to 29868
wait for 10 ticks
end sharkThrash